a=int(input())
b=int(input())
c=int(input())
i=(
    (a,b),
    (a*c,(b+60)*c),
    (a+20*c,b+60*c),
    (a+20*c,b+40*c),
    (a+40*c,b+40*c),
    (b+40*c,b+20*c),
    (b+20*c,b+20*c),
    (a+20*c,b*c)
)
from tkinter import *
r = Tk()
r.title('com.ry')
r.geometry('500x500')
c=Canvas(bg='white',width=490,height=490)
c.pack(anchor=CENTER,expand=1)
c.create_polygon(i, fill='blue',outline='black')
r.mainloop()
    
